package com.eco.fanliapp.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
@Data
@TableName("msg_template")//@TableName中的值对应着表名
public class MsgTemplate extends AbstractModel {

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 新手红包
     */
    private String newsHb;
    /**
     * 新手红包标题
     */
    private String newsHbTitle;

    /**
     * 新粉丝
     */
    private String newsFs;
    /**
     * 淘宝授权
     */
    private String newsTaobao;
    /**
     * 微信授权
     */
    private String newsWeixin;
    /**
     * 提现到账
     */
    private String newsCashSucc;
    /**
     * 提现失败
     */
    private String newsCashFail;

    /**
     * 大额延迟
     */
    private String newsBigdelay;


    /**
     * 订单付款
     */
    private String newsOrderPay;
    /**
     * 订单成功
     */
    private String newsOrderSucc;
    /**
     * 订单结算
     */
    private String newsOrderSettle;
    /**
     * 订单失效
     */
    private String newsOrderFail;
    /**
     * 订单维权
     */
    private String newsOrderRights;
    /**
     * 补贴到账
     */
    private String newsOrderToaccount;


    /**
     * 一级下线订单付款
     */
    private String newsOrderSuperPay;
    /**
     * 一级下线订单成功
     */
    private String newsOrderSuperSucc;
    /**
     * 一级下线订单结算
     */
    private String newsOrderSuperSettle;
    /**
     * 一级下线订单失效
     */
    private String newsOrderSuperFail;
    /**
     * 一级下线订单维权
     */
    private String newsOrderSuperRights;


    /**
     * 二级下线订单付款
     */
    private String newsOrderLevelPay;
    /**
     * 二级下线订单成功
     */
    private String newsOrderLevelSucc;
    /**
     * 二级下线订单结算
     */
    private String newsOrderLevelSettle;
    /**
     * 二级下线订单失效
     */
    private String newsOrderLevelFail;
    /**
     * 二级下线订单维权
     */
    private String newsOrderLevelRights;


    /**
     * 全部用户
     */
    private String newsOrderFindUser;
    /**
     * 下单用户
     */
    private String newsOrderXiadanUser;
    /**
     * 未下单用户
     */
    private String newsOrderWeiXiadanUser;

//    public static MsgTemplate create(HashMap<String,Object> hashMap){
//        MapValueHelper  mapValueHelper =  new MapValueHelper(hashMap);
//        MsgTemplate template = new MsgTemplate();
//        template.setPlaceAnOrderOkContent(mapValueHelper.getString("placeAnOrderOkContent"));
//        template.onCreate();
//        return template;
//    }


    /**
     * 补贴到账标题
     */
    private String newsOrderToaccountTitle;

    /**
     * 邀请粉丝标题
     */
    private String newsFsTitle;

    /**
     * 提现成功标题
     */
    private String newsCashSuccTitle;

    /**
     * 提现失败标题
     */
    private String newsCashFailTitle;

    /**
     * 订单付款标题
     */
    private String newsOrderPayTitle;

    /**
     * 订单结算标题
     */
    private String newsOrderSettleTitle;

    /**
     * 订单失效标题
     */
    private String newsOrderFailTitle;

    /**
     * 一级粉丝订单付款标题
     */
    private String newsOrderSuperPayTitle;

    /**
     * 一级粉丝订单结算标题
     */
    private String newsOrderSuperSettleTitle;

    /**
     * 一级粉丝订单失效标题
     */
    private String newsOrderSuperFailTitle;

    /**
     * 二级粉丝订单付款标题
     */
    private String newsOrderLevelPayTitle;

    /**
     * 二级粉丝订单结算标题
     */
    private String newsOrderLevelSettleTitle;

    /**
     * 二级粉丝订单失效标题
     */
    private String newsOrderLevelFailTitle;

    /**
     * 任务红包标题
     */
    private String newsOrderTaskTitle;
    /**
     * 任务红包
     */
    private String newsOrderTask;

    private String newsOrderSettleFreezeTitle;
    private String newsOrderSettleFreeze; //收货成功 补贴冻结

    private String newsOrderRewardAccount;
    private String newsOrderRewardAccountTitle;   //奖励解冻到账

    private String newsOrderFreeFreeze;
    private String newsOrderFreeFreezeTitle; //免单收货成功 补贴冻结

}
